package com.service;

import com.entity.Userinfo;
import com.mapper.UserinfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service("userInfoServiceImp")
public class UserInfoServiceImp implements UserInfoService {


    @Autowired
    private UserinfoMapper um;

    @Override
    public Userinfo findByLoginNameAndPass(Userinfo user) {

        return um.selectByLoginNameAndPass(user);
    }
}
